package com.campus.dao;

import com.campus.model.MyClass;

import java.util.List;

/**
 * @author HLQ
 * @date 2024/11/17 20:59
 */
public interface ClassDao {
    public int addClass(MyClass myClass);

    public int deleteClassById(int id);

    public int updateClassById(MyClass myClass);

    public MyClass queryClassById(int id);

    public MyClass queryClassByName(String name);
    public List<MyClass> queryClassByActivity(Integer activityId);
    public int addClassStudent(int classId,int studentId,int groupId);

    public int addClassTeacher(int classId, int teacherId);

}
